package cn.wolfcode.edu.mapper;

import cn.wolfcode.edu.domain.Test;
import cn.wolfcode.edu.query.TestQueryObject;

import java.util.List;

public interface TestMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Test entity);

    Test selectByPrimaryKey(Long id);

    List<Test> selectAll();

    int updateByPrimaryKey(Test entity);
    //考试查询两件套
    Integer queryForCount(TestQueryObject qo);
    List<Test> queryForList(TestQueryObject qo);
    //考试查询两件套
    //审核操作
    void audit(Test test);
}